package com.ruoyi.fileMaintenance.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学习情况 t_course_learning
 * 
 * @author ruoyi
 * @date 2024-03-27
 */
public class TCourseLearning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("学习资料id")
    private Long learningMaterialsId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("courseId", getCourseId())
            .append("learningMaterialsId", getLearningMaterialsId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }

    /** 主键 */
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /** 名称 */
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /** 详情 */
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    /** 详情 */
    public Long getLearningMaterialsId() {
        return learningMaterialsId;
    }

    public void setLearningMaterialsId(Long learningMaterialsId) {
        this.learningMaterialsId = learningMaterialsId;
    }
}
